<!-- <h1>
  {{config.heroesUrl}}
</h1>

<h2>{{config.textfile}}</h2> -->

<button (click)="clear(); showConfig()">get</button>
<button (click)="clear(); showConfigResponse()">getResponse</button>

<span *ngIf="config">
  <p>Heroes API URL is "{{config.heroesUrl}}"</p>
  <p>Textfile URL is "{{config.textfile}}"</p>
  <div *ngIf="headers">
    Response headers:
    <ul>
      <li *ngFor="let header of headers">{{header}}</li>
    </ul>
  </div>
</span>